﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using mvLibrary;
using mvLibrary.Helpers.Builders;

namespace fenk.Llamadas
{
    public partial class LlamadasPorInterno : BaseForm
    {
        private const string BORRAR_ANTES_DE = "LLAMADAS POR DIA";


        public LlamadasPorInterno()
        {
            InitializeComponent();
        }

        public override void BeforeCreatePdf(ref string report)
        {
            PickReportFormatterBuilder reportFormatterBuilder = new PickReportFormatterBuilder(report);

            reportFormatterBuilder.RemoveLinesBeforeString(BORRAR_ANTES_DE);

            report = reportFormatterBuilder.Build();
        }
    }
}
